<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>凑单页</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    li {
      list-style: none;
    }

    a {
      text-decoration: none;
    }

    img {
      display: block;
    }

    html {
      height: 100%;
      font-size: 13.3333333333333vw;
    }

    body {
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    /* 头部 */
    header {
      height: 1rem;
      background-color: #ff841d;
      font-size: .5rem;
      line-height: 1rem;
      color: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    header>a:nth-of-type(1) {
      color: #fff;
    }

    header>a>img {
      width: .68rem;
      height: .68rem;
    }

    /* 导航 */
    #nav {
      border: .026667rem solid grey;
      display: flex;
      width: 10rem;
      height: 1.066667rem;
      align-items: center;
      justify-content: space-around;
    }

    #nav>div {
      width: 25%;
    }

    #nav>a {
      width: 10%;
      height: 80%;
      overflow: hidden;
      margin-bottom: .053333rem;
    }

    #nav>a>img {
      width: 5.333333rem;
    }

    #nav>div>span {
      font-size: .433333rem;
    }

    #shopNavBox {
      display: flex;
      flex-direction: column;
      display: none;
      position: absolute;
      top: 2.301333rem;
    }

    #shopNavBox>div {
      width: 10rem;
      height: .8rem;
      border: .026667rem solid rgb(139, 127, 127);
      text-align: center;
      box-sizing: border-box;
      font: .4rem/.8rem "";
      background: whitesmoke;
    }

    #areaNavBox {
      display: flex;
      flex-direction: column;
      display: none;
      /* display: block; */
      position: absolute;
      top: 2.301333rem;
    }

    #areaNavBox>div {
      width: 10rem;
      height: .8rem;
      border: .026667rem solid rgb(139, 127, 127);
      padding-left: .533333rem;
      box-sizing: border-box;
      font: .4rem/.8rem "";
      background: whitesmoke;
    }

    /* 主体 */
    #main {
      flex: 1;
      width: 10rem;
      overflow: auto;
      display: flex;
      flex-wrap: wrap;
      background: whitesmoke;
      align-content: flex-start;
      justify-content: space-around;
    }

    #main>div {
      background: white;
      display: flex;
      flex-direction: column;
      margin-left: .213333rem;
      margin-bottom: .283333rem;
    }

    #main>div>img {
      width: 3.133333rem;
      height: 3.133333rem;
    }

    #main>div>span {
      font-size: .363333rem;
      width: 4.533333rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    #main>div>div>span:nth-of-type(1) {
      color: red;
      font-size: .6rem;
    }

    #main>div>div {
      display: flex;
      justify-content: space-between;
      margin-top: .133333rem;
    }

    #main>div>div>a {
      height: .6rem;
      width: 1.4rem;
      background: orange;
      color: white;
      text-align: center;
      font: .4rem/.6rem "";
    }

    /* 底部 */
    footer {
      height: .80rem;
      background-color: #F4F4F4;
      font-size: .5rem;
      display: flex;
    }

    footer>li {
      border: .01rem solid #ccc;
      text-align: center;
      flex: 1;
    }

    /* 广告 */
    #guangGao {
      height: 0.8rem;
      background-color: #F4F4F4;
      font: .2rem/.4rem "";
      text-align: center;
      margin-top: .1rem;
    }
  </style>
</head>

<body>
  <!-- 头部 -->
  <header>
    <a href="index.html">&lt;</a>
    <h4>凑单品</h4>
    <a href="">
      <img src="../images/header_app.png" alt="">
    </a>
  </header>
  <!-- 导航 -->
  <div id="nav">
    <div id="shop">
      <span id="shopStr">京东</span>
      <span>▼</span>
    </div>
    <div id="area">
      <span id="areaStr">华北</span>
      <span>▼</span>
    </div>
    <div id="allPrice">
      <span>全部价格</span>
      <span>▼</span>
    </div>
    <a href="">
      <img src="../images/icon_bar.png" alt="">
    </a>
  </div>
  <!-- 主体 -->
  <div id="shopNavBox">
  </div>
  <div id="areaNavBox">
  </div>
  <div id="main">
  </div>
  <!-- 底部 -->
  <footer>
    <li><a href="">登入</a></li>
    <li><a href="">注册</a></li>
    <li><a href="#" id="top0">返回顶部</a></li>
  </footer>
  <!-- 广告 -->
  <div id="guangGao">
    <p>
      <a href="#">
        手机APP下载
      </a>
      <a href="#">
        慢慢买手机版
      </a>
      -- 掌上比价平台
    </p>
    <p>
      m.manmanbuy.com
    </p>
  </div>
</body>
<script src="../js/gsproduct.js"></script>

</html>